package com.dwaynema.service;

import com.dwaynema.dto.ArticleDto;
import com.dwaynema.entity.Article;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ArticleService {
    Integer addArticle(Article article);
    List<ArticleDto> getArticles();
    ArticleDto getArticleById (Integer id);
}
